<template>
	<view class="">
		<view class="header">
			<view class="header-left" @click="goback()">
				<image src="../../static/left.png" mode=""></image>
			</view>
			<view class="header-content">
				附近的人
			</view>
			<view class="header-right">
				
			</view>
		</view>
		<view class="">
			<view>
        <view class="time-info">
            <view class="time-img">
                <image src="../../static/bg.jpg" mode=""></image>
            </view>
            <view class="time-title">
                <h1>
                    Kabir
                </h1>
                <h3>
                    100米以内
                </h3>
            </view>
            <view class="time-pay">
                <view class="btn">
                    打招呼
                </view>
            </view>
        </view>
        <view class="time-info">
            <view class="time-img">
                <image src="../../static/bg.jpg" mode=""></image>
            </view>
            <view class="time-title">
                <h1>
                    Kabir
                </h1>
                <h3>
                    100米以内
                </h3>
            </view>
            <view class="time-pay">
                <view class="btn">
                    打招呼
                </view>
            </view>
        </view>
        <view class="time-info">
            <view class="time-img">
                <image src="../../static/bg.jpg" mode=""></image>
            </view>
            <view class="time-title">
                <h1>
                    Kabir
                </h1>
                <h3>
                    100米以内
                </h3>
            </view>
            <view class="time-pay">
                <view class="btn">
                    打招呼
                </view>
            </view>
        </view>
    </view>
		</view>
	</view>
</template>
<script>
	export default {
		data: {},
		methods: {
			goback: function () {
				uni.navigateBack({
					delta:1,
				})
			},
		}
	}
</script>

<style>
	.header {
		height: 100px;
		width: 100%;
		display: flex;
		align-items: center;
		background: #FFFFFF;
	}

	.header-left,
	.header-right {
		width: 100px;
		height: 100px;

		display: flex;
		align-items: center;
		justify-content: center;
	}

	.header image {
		width: 40px;
		height: 40px;
	}

	.header-content {
		flex: 1;
		text-align: center;
	}

	.time-info {
            height: 1.6rem;
            max-width: 100%;
            background: #fff;
            display: flex;
            margin-bottom: 0.2rem;
        }

        .time-img {
            height: 1.6rem;
            width: 1.6rem;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .time-img image {
			max-height: 1.2rem;
			border-radius: 50%;
            max-width: 1.2rem;
        }

        .time-title {
            flex: 1;
            height: 1.6rem;
            display: flex;
            padding: 0.1rem 0;
            box-sizing: border-box;
            flex-direction: column;

        }

        .time-title h1 {
            height: .8rem;
            color: #6c6c6c;
            font-size: 0.36rem;
            width: 100%;
            line-height: .8rem;
        }

        .time-title h3 {
            height: 0.4rem;
            width: 100%;
            color: #b6b6b6;

        }

        .time-pay {
            min-width: 2rem;
            height: 1.6rem;
            font-size: 0.28rem;
            display: flex;
            align-items: center;
            justify-content: center;

        }

        .time-pay .btn {
            width: 1.5rem;
            height: 0.7rem;
            background-color: #79c343;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 0.4rem;
            color: #fff;
        }
</style>
